package grape.composite.rest.appadvertisement.vo;
import grape.common.rest.vo.BaseIdVo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * app广告表
 * </p>
 *
 * @author yangwei
 * @since 2020-03-10
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="app广告表数据响应对象")
public class AppAdvertisementVo extends BaseIdVo<String> {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "名称")
    private String name;

    @ApiModelProperty(value = "广告内容地址")
    private String url;

    @ApiModelProperty(value = "广告内容类型，字典，举例：image=图片，vedio=视频等")
    private String urlTypeDictId;

    @ApiModelProperty(value = "跳转地址",notes = "，以http(s)://开头")
    private String href;

    @ApiModelProperty(value = "停留或展示时间，倒计时时间，单位秒")
    private Integer duration;

    @ApiModelProperty(value = "从什么时间开始，")
    private Long startAt;

    @ApiModelProperty(value = "从什么时间结束，如果不填永不结束")
    private Long endAt;

    @ApiModelProperty(value = "是否禁用")
    private Boolean isDisabled;

    @ApiModelProperty(value = "备注")
    private String remark;


}
